export type Callback = (e?: Error) => void;

export type Validator = (rule: unknown, value: string, cb: Callback) => void;

export type ValidatorFn = (value: unknown) => boolean;

export interface Option {
  name: string;
  value: string;
  [key: string]: unknown;
}
